package com.gaea.auth.feign.fallback;

import com.gaea.auth.feign.IUserService;
import com.gaea.base.vo.UserVo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author bjsonghongxu
 * @create 2018-03-29 16:21
 **/
@Service
public class UserServiceFallbackImpl implements IUserService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());


    @Override
    public UserVo login(@RequestBody UserVo userVo) {
        logger.error("调用{}异常:{}", "login", userVo);
        return null;
    }
}
